package com.yunhuajinfu.response;

import org.json.*;

/**
 * 标详情数据
 */

public class BorroDetailsRes {
    private String allowTenderTime;  //允许投标时间    //时间戳
    private String isDay;      //2(月标)1(天标)
    private String borrowEId;   //标Id
    private String borrowStatus;   //状态
    private String minAmount;    //起投金额
    private String borrowTitle;   //标题
    private String percentage;    //已投百分比
    private String borrowTimeLimit;  //借贷期限
    private String tenderSum;    //已投金额
    private String borrowSum;     //标总金额
    private String isVouch;   //是否担保标：2(否)1(是)
    private String availableTenderMoney;   //可投金额
    private String allowTenderTimeStr;   //允许投标时间
    private String published;   //true(已发标)false(未发表)  是否发标
    private String isSystem;   //是否企业用户:2(否)1(是)
    private String borrowType;   //BL(保理标)CD(车贷标)




    public String getEndStart() {
        return endStart;
    }

    public void setEndStart(String endStart) {
        this.endStart = endStart;
    }

    private String endStart;


    public BorroDetailsRes() {

    }

    public BorroDetailsRes(JSONObject json) {

        this.allowTenderTime = json.optString("allowTenderTime");
        this.isDay = json.optString("isDay");
        this.borrowEId = json.optString("borrowEId");
        this.borrowStatus = json.optString("borrowStatus");
        this.minAmount = json.optString("minAmount");
        this.borrowTitle = json.optString("borrowTitle");
        this.percentage = json.optString("percentage");
        this.borrowTimeLimit = json.optString("borrowTimeLimit");
        this.tenderSum = json.optString("tenderSum");
        this.borrowSum = json.optString("borrowSum");
        this.isVouch = json.optString("isVouch");
        this.availableTenderMoney = json.optString("availableTenderMoney");
        this.allowTenderTimeStr = json.optString("allowTenderTimeStr");
        this.published = json.optString("Published");
        this.isSystem = json.optString("isSystem");
        this.borrowType = json.optString("borrowType");
        this.endStart = json.optString("endStart");

    }

    public String getAllowTenderTime() {
        return this.allowTenderTime;
    }

    public void setAllowTenderTime(String allowTenderTime) {
        this.allowTenderTime = allowTenderTime;
    }

    public String getIsDay() {
        return this.isDay;
    }

    public void setIsDay(String isDay) {
        this.isDay = isDay;
    }

    public String getBorrowEId() {
        return this.borrowEId;
    }

    public void setBorrowEId(String borrowEId) {
        this.borrowEId = borrowEId;
    }

    public String getBorrowStatus() {
        return this.borrowStatus;
    }

    public void setBorrowStatus(String borrowStatus) {
        this.borrowStatus = borrowStatus;
    }

    public String getMinAmount() {
        return this.minAmount;
    }

    public void setMinAmount(String minAmount) {
        this.minAmount = minAmount;
    }

    public String getBorrowTitle() {
        return this.borrowTitle;
    }

    public void setBorrowTitle(String borrowTitle) {
        this.borrowTitle = borrowTitle;
    }

    public String getPercentage() {
        return this.percentage;
    }

    public void setPercentage(String percentage) {
        this.percentage = percentage;
    }

    public String getBorrowTimeLimit() {
        return this.borrowTimeLimit;
    }

    public void setBorrowTimeLimit(String borrowTimeLimit) {
        this.borrowTimeLimit = borrowTimeLimit;
    }

    public String getTenderSum() {
        return this.tenderSum;
    }

    public void setTenderSum(String tenderSum) {
        this.tenderSum = tenderSum;
    }

    public String getBorrowSum() {
        return this.borrowSum;
    }

    public void setBorrowSum(String borrowSum) {
        this.borrowSum = borrowSum;
    }

    public String getIsVouch() {
        return this.isVouch;
    }

    public void setIsVouch(String isVouch) {
        this.isVouch = isVouch;
    }

    public String getAvailableTenderMoney() {
        return this.availableTenderMoney;
    }

    public void setAvailableTenderMoney(String availableTenderMoney) {
        this.availableTenderMoney = availableTenderMoney;
    }

    public String getAllowTenderTimeStr() {
        return this.allowTenderTimeStr;
    }

    public void setAllowTenderTimeStr(String allowTenderTimeStr) {
        this.allowTenderTimeStr = allowTenderTimeStr;
    }

    public String getPublished() {
        return this.published;
    }

    public void setPublished(String published) {
        this.published = published;
    }

    public String getIsSystem() {
        return this.isSystem;
    }

    public void setIsSystem(String isSystem) {
        this.isSystem = isSystem;
    }

    public String getBorrowType() {
        return this.borrowType;
    }

    public void setBorrowType(String borrowType) {
        this.borrowType = borrowType;
    }


}
